package misp_backend.domain;

import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Data
public class PackageDTO { //新增套餐的参数封装,联表查询后的封装
    private Long packageId;
    private String packageName;
    private BigDecimal price;
    private String description;
    private Integer status;
    private String cover; //图片地址
    private List<PackageDishDTO> dishes;

    @Data
    public static class PackageDishDTO {
        private Long dishId;
        private Integer quantity;
        private String dishName;
        private BigDecimal price;
    }
}
